package com.bmit.clusterspring.service;

import com.alibaba.druid.support.spring.stat.annotation.Stat;
import com.bmit.clusterspring.common.StatusCode;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface OutService {
    boolean uploadReference(String ipAddr, MultipartFile file) throws IOException;

    boolean uploadResult(String ipAddr, MultipartFile file) throws IOException;

    List<Map<String, String>> showReference(String ipAddr);

    List<Map<String, String>> showResult(String ipAddr);

    void setReferenceColumns(String ipAddr, List<String> cols);

    void setResultColumn(String ipAddr, String col);

    void runMeasure(String ipAddr);

    Map<String, String> getResult(String ipAddr);
}
